package com.j1ay.forum.model.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author J1ay
 * @Date 2021/12/14 20:52
 * @Description 提问类型表
 */
@Data
@TableName("tb_type")
@ApiModel("问题类型")
public class Type {

    @ApiModelProperty(value = "id",required = true)
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "类型名",required = true)
    private String typeName;

    @ApiModelProperty("类型描述")
    private String typeDes;
}
